// 将所有api都写在此处,在页面只需要按需导入即可
import http from './request'

// 登录post
export const loginPostApi = (params) => http.post('/login', params)

// home获取aside菜单
export const menuGetApi = (params) => http.get('/menus', params)

// 获取用户列表
export const userGetApi = (params) => http.get('users', params)

// 新增用户api
export const addUserPostApi = (params) => http.post('users', params)
